package my.sample.exception;

public class ExceptionCheck1 {

	public static void main(String[] args) {
		
		try {
			int a[] = new int[2];
			System.out.println("Access : " + a[3]);
		} catch (Exception e) {
			System.out.println(e.getMessage());
			System.out.println(e);
		}

	}
}